#include "song.h"

Song::Song(QString file, QString title, QString artist, QString album, QString track, QString name, int id)
{
    this->file = file;
    this->title = title;
    this->artist = artist;
    this->album = album;
    this->track = track;
    this->name = name;
    this->id = id;

    p_album = NULL;
    p_artist = NULL;

}

Album * Song::getAlbum()
{
    return p_album;
}

void Song::setAlbum(Album * album)
{
    this->p_album = album;
}

Artist * Song::getArtist()
{
    return p_artist;
}

void Song::setArtist(Artist * artist)
{
    this->p_artist = artist;
}
